package com.charmzenus.it.zuul.constants;

import static org.springframework.cloud.netflix.zuul.filters.support.FilterConstants.PRE_DECORATION_FILTER_ORDER;
import static org.springframework.cloud.netflix.zuul.filters.support.FilterConstants.SERVLET_DETECTION_FILTER_ORDER;

public class FitlerNumber {

    // 限流过滤器  组件最大优先级是-3  要比-3 还要小，这样保证这个限流过滤器最优先
    public static final int order_rate_limiter = SERVLET_DETECTION_FILTER_ORDER - 1;


    // 对message校验，这个要先于PRE_DECORATION过滤器执行
    public static final int order_message = PRE_DECORATION_FILTER_ORDER - 1;




}
